home *** CD-ROM | disk | FTP | other *** search
/ Disc to the Future 2 / Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin / MAC / THINKC / TCL1 / CPOPUPME / CPOPUPDE.H next >
Text File  |  1989-08-19  |  766b  |  31 lines

  1. /****
  2.  * CPopupDemoPane.h
  3.  *
  4.  *    Pane class for a typical application.
  5.  *
  6.  ****/
  7.  
  8. #define _H_CPopupDemoPane            /* Include this file only once */
  9. #include <CPanorama.h>
  10.  
  11. struct CPopupDemoPane : CPanorama {
  12.                                     /** Contruction/Destruction **/
  13.     void        IPopupDemoPane(CView *anEnclosure, CBureaucrat *aSupervisor,
  14.                             short aWidth, short aHeight,
  15.                             short aHEncl, short aVEncl,
  16.                             SizingOption aHSizing, SizingOption aVSizing);
  17.  
  18.                                     /** Drawing **/
  19.     void        Draw(Rect *area);
  20.  
  21.                                     /** Mouse **/
  22.     void        DoClick(Point hitPt, short modifierKeys, long when);
  23.     Boolean        HitSamePart(Point pointA, Point pointB);
  24.     
  25.                                     /** Cursor **/
  26.     void        AdjustCursor(Point where, RgnHandle mouseRgn);
  27.  
  28.                                     /** Scrolling **/
  29.     void        ScrollToSelection(void);
  30. };
  31.